package com.nt.mes_leader.base_activity;

import android.os.Bundle;
import android.view.View;

import com.nt.mes_leader.R;
import com.nt.mes_leader.base_adapter.BaseCustomAdapter;

import cn.zhouchaoyuan.excelpanel.ExcelPanel;

/**
 * Created by netuo020 on 2017/9/20.
 */

public abstract class BaseTableActivity extends BaseBackActivity{

    private ExcelPanel mExcelPanel;
    private View.OnClickListener mClickListener;
    protected BaseCustomAdapter adapter;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        mExcelPanel = (ExcelPanel) findViewById(R.id.excel_panel);
        adapter = new BaseCustomAdapter(this, mClickListener, mClickListener);
        mExcelPanel.enableDividerLine(false);
        mExcelPanel.setAdapter(adapter);
    }
}
